frank math solution